package com.admin.web.model;

import com.bayss.core.entity.rbac.OBGPermissionsInfo;
import com.bayss.core.entity.rbac.OBGRoleInfo;
import com.bayss.core.entity.rbac.OBGUserInfo;

import java.util.List;

/**
 * Created by LDL on 2019/12/29.
 */
public class LoginUser {
    private OBGUserInfo userInfo;
    private List<OBGPermissionsInfo> permissionList;
    private List<OBGRoleInfo> roleList;

    public LoginUser() {
    }

    public LoginUser(OBGUserInfo userInfo, List<OBGPermissionsInfo> permissionList, List<OBGRoleInfo> roleList) {
        this.userInfo = userInfo;
        this.permissionList = permissionList;
        this.roleList = roleList;
    }

    public OBGUserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(OBGUserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public List<OBGPermissionsInfo> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<OBGPermissionsInfo> permissionList) {
        this.permissionList = permissionList;
    }

    public List<OBGRoleInfo> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<OBGRoleInfo> roleList) {
        this.roleList = roleList;
    }
}
